//
//  BCWaitDetailHeaderCollectionViewCell.m
//  BangcaiDriver
//
//  Created by Liang Zhang on 16/9/7.
//  Copyright © 2016年 BC. All rights reserved.
//

#import "BCWaitDetailHeaderCollectionViewCell.h"

@implementation BCWaitDetailHeaderCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _distanceTextButton.layer.cornerRadius = 3.f;
    _distanceTextButton.layer.masksToBounds = YES;
}

+ (instancetype)cellWithCollectionView:(UICollectionView *)collectionView {
    static NSString *ID = @"WaitDetailHeaderCellIdentifer";
    UINib *nib = [UINib nibWithNibName:@"BCWaitDetailHeaderCollectionViewCell" bundle: [NSBundle mainBundle]];
    [collectionView registerNib:nib forCellWithReuseIdentifier:ID];
    BCWaitDetailHeaderCollectionViewCell *cell = [[BCWaitDetailHeaderCollectionViewCell alloc] init];
    return cell;
}

@end
